<template>
  <div class="home">
    <el-container>
      <el-aside width="auto">
        <!-- 侧边栏-->
        <Aside></Aside>
      </el-aside>
      <el-container>
        <el-header>
          <Header></Header>
        </el-header>
        <el-main style="background-color: #F8F9FB">
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from "./Header.vue";
import Aside from "@/components/common/Aside.vue";

export default {
  name: 'Home',
  components: {
    Header,
    Aside
  },
  data() {
    return {}
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.el-header {
  padding: 0;
}
</style>
